package io.finer.erp.jeecg.bas.service;

import com.baomidou.mybatisplus.extension.service.IService;

import io.finer.erp.jeecg.bas.dto.BasCustomerAddressDTO;
import io.finer.erp.jeecg.bas.entity.BasCustomerAddress;

import java.util.List;

/**
 * @Description: 客户地址表
 * @Author: jeecg-boot
 * @Date:   2020-10-09
 * @Version: V1.0
 */
public interface IBasCustomerAddressService extends IService<BasCustomerAddress> {

	/**
	 * @Description 获取客户的地址信息
	 * @param customId
	 * @return
	 * Create at: 2020-12-09 14:05:55
	 * @author: duany
	 * Revision:
	 *    2020-12-09 14:05:55 - first revision by duany
	 *        
	 */
	BasCustomerAddress getCustomAddress(String customId);

	List<BasCustomerAddress> getAddressByCustomerId(String name);
	
	List<BasCustomerAddressDTO> getAddressByCustomerAll();

	List<BasCustomerAddress> selectAddressByCustomerId(String customerId);

}
